package com.ftg.learn.chapter08.pattern.innerclass.lambda1;

/**
 * 供给型
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/8/1 15:09
 */

public interface DogMySupplier {

    Dog1 supplier();

    public static void main(String[] args) {
        DogMySupplier m=()->new Dog1();
        DogMySupplier m1=Dog1::new;

    }

}
